package cn.tedu.system.shippingcart.service;



import cn.tedu.system.base.response.JsonResult;
import cn.tedu.system.shippingcart.pojo.dto.CartAddDto;
import cn.tedu.system.shippingcart.pojo.dto.CartUpdateDto;
import cn.tedu.system.shippingcart.pojo.vo.CartVO;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface CartService {
    void addCart(CartAddDto cartAddDto, HttpSession session);

    void deleteCart(Long id, HttpSession session);

    void updateCart(CartUpdateDto cartUpdateDto, HttpSession session);

    List<CartVO> selectCart(HttpSession session);

    Double allPrice(HttpSession session);
}
